/**
 * Copyright (c) 2008, Julien PORTALIER
 * http://featherphp.googlecode.com/
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 */

fieldset { border: 0; margin: 0; padding: 0; }
legend   { font-size: 1.25em; padding: 1em 0 .5em; }
fieldset label { float: left; width: 11em; text-align: right; margin-right: .5em; }
fieldset input, fieldset select, fieldset textarea { width: 30em; }
fieldset textarea { height: 11.5em; }
fieldset textarea.small { height: 5em; }
fieldset textarea.big   { height: 20em; }

fieldset  input.big { font-size: 1.333em; font-weight: bold; width: 22.5em; }
fieldset .wide textarea, fieldset .wide input { width: 100%; }
fieldset .wide label { float: none; width: auto; text-align: left; }
fieldset .wide input.big { width: 100%; }

fieldset input.inline, fieldset select.inline { width: auto; }

fieldset .input-label { position: relative; }
fieldset .input-label label { position: absolute; color: #888; top: .666em; left: .333em; }
fieldset .input-label label.big { font-size: 1.333em; top: .5em; left: .25em; }

fieldset p { margin: 0; padding: .5em 0; }
fieldset p.error { background: #FFC; border: 1px solid #FAA; margin-top: .5em; margin-bottom: .5em; }
fieldset span.error { display: block; margin-left: 11.5em; color: red;
	padding-left: 18px; background: url(/img/icons/famfamfam/exclamation.png) no-repeat 0 1px; }

fieldset .note { display: block; width: 33em; font-size: 11px; margin-left: 12.5em; color: #39C; font-style: italic; }

p.submits { margin-left: 11.5em; margin-top: .5em; }
p.submits a { margin-left: 1em; }
input[type=submit][name=ok] { font-weight: bold; }

input.radio { width: auto; margin: 0 .5em 0 0; vertical-align: bottom; }
fieldset .radios { display: block; padding-left: 11.5em; }
fieldset .radios label { float: none; width: auto; text-align: left; margin-right: 0; }
fieldset .radios span.error { margin-left: 0; }

fieldset .checkboxes { padding-left: 11.5em; }
fieldset .checkboxes label { float: none; width: auto; text-align: left; margin-right: 0; }
fieldset .checkboxes span.error { margin-left: 0; }
fieldset .checkboxes .note { margin-left: 0; }

div.errors { color: red; }
div.errors p { font-weight: bold; }
